<template>
	<onez-stage v-if="ready" apiurl="">
		<template v-slot="onez">
			<ddz-room :stage="onez.stage"></ddz-room>
		</template>
	</onez-stage>
</template>

<script>
	import ddzRoom from './ddz-room.vue'
	import onezStage from '../../components/onez-stage/onez-stage.vue'
	import ddz from './ddz.js';
	export default {
		components: {
			onezStage,
			ddzRoom
		},
		data() {
			return {
				ready: false
			};
		},
		onLoad() {
			//加载游戏
			this.$game.load(ddz);
			this.ready = true;
		},
		methods: {}
	};
</script>

<style></style>